﻿using Ids4.Api.Models.Vos.Admin.Consent;

namespace Ids4.Api.Controllers.Admin.Consent
{
    public class ProcessConsentResult
    {
        public bool IsRedirect => RedirectUri != null;
        public string RedirectUri { get; set; }
        public ConsentVo ViewModel { get; set; }
        public bool ShowView => ViewModel != null;
        public bool HasValidationError => ValidationError != null;
        public string ValidationError { get; set; }
    }
}
